<%@ include file="/WEB-INF/jsp/core/header.jspf" %>

	<!-- This code written by : Willie Wheeler and John Wheeler -->
	<!-- For 'Spring In Practice' [Book written by Willie Wheeler and John Wheeler] -->

<html>
	<head>
		<title>Contact Us</title>
		<link rel="stylesheet" type="text/css" href="${stylesUrl}" />
	</head>
	<body>
		<div id="body">
			<div><a href="${homeUrl}">Home</a></div>
			
			<h1>Contact Phoenix Mini-Geeks</h1>
			
			<p>Please use the form below to contact us with ideas, issues,
			questions, general feedback or anything else. We typically respond
			within one business day.</p>
			
			<p>All fields are required.</p>
			
			<form:form id="mainForm" modelAttribute="userMessage">
				<form:hidden path="referer"/>
			    <form:errors>
					<div class="alert-box"><form:errors></form:errors></div>
			    </form:errors>
				<div class="form-item">
					<div>Your name:</div>
					<div><form:input path="name"/></div>
					<form:errors path="name">
						<div class="form-error-message">
							<form:errors path="name"></form:errors>
						</div>
					</form:errors>
				</div>
				<div class="form-item">
					<div>Your e-mail address:</div>
					<div><form:input path="email"/></div>
					<form:errors path="email">
						<div class="form-error-message">
							<form:errors path="email"></form:errors>
						</div>
					</form:errors>
				</div>
				<div class="form-item">
					<div>Your message:</div>
					<div><form:textarea path="text" rows="12" cssClass="form-field" cssErrorClass="form-error-field" cssStyle="width:540px"/></div>
					<form:errors path="text">
						<div class="form-error-message">
							<form:errors path="text"></form:errors>
						</div>
					</form:errors>
				</div>
				<div class="form-item">
					<input type="submit" value="Submit"></input>
				</div>
			</form:form>
		</div>
	</body>
</html>
